package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.CustomerReturnListGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CustomerReturnListGoodsDao {
    //新增客户退货单明细
    void saveCustomerReturnListGoods(CustomerReturnListGoods item);

    //退货单商品信息  Integer customerReturnListId
    List<CustomerReturnListGoods> goodsList(@Param("customerReturnListId") Integer customerReturnListId);

    //删除退货明细
    void deleteCustomerReturnListGoods(@Param("customerReturnListId") Integer customerReturnListId);
}
